package com.juc.threadPoolExecutor.threadPoolExecutor18;

import java.util.concurrent.SynchronousQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class GetMaximumPoolSize_Test1 {
/**
 * getMaximumPoolSize 方法取得构造方法传入的MaximumPoolSize参数值
 * 
 */
	public static void main(String[] args) {
		ThreadPoolExecutor executor = new ThreadPoolExecutor(2, 5, 100, TimeUnit.SECONDS, new SynchronousQueue<Runnable>());
		System.out.println( "getMaximumPoolSize =  " + executor.getMaximumPoolSize());
		
	}
}
